<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 13-6-4
  Time: 下午3:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>教学资源网</title>
    <link type="text/css" rel="stylesheet" href="css/index.css"/>
    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script type="text/javascript" src="js/menu.js"></script>
    <script language="javascript" src="/js/ShowTime.js"></script>
    <link type="text/css" rel="stylesheet" href="css/menu.css"/>
    <%--<meta http-equiv="refresh" content="2">--%>

</head>
<body>
<%@ include file="/page/share/menu.jsp" %>
<table style="position: absolute;top:1px;right: 32%;font-size: 12px;color: #757575;">
    <tr>
        <td id="Time" style="width: 130px;">&nbsp;
            <script language="javascript">ShowDate(Time);</script>
        </td>
        <td id="Time2">&nbsp;&nbsp;
            <script language="javascript">ShowTime(Time2);</script>
        </td>
    </tr>
</table>

<div id="ad"></div>

<div id="content">
    <div id="leftContent">
        <span><a href="FileDownload!show.action"
                 style="font-size: 12px; float: right; text-decoration: none;font-weight:normal;font-family: '微软雅黑';">更多...</a></span>
        <h2>最新资源</h2>
        <ul>
            <s:iterator value="resources" var="r" begin="0" end="3">
                <li>
                    <span style="float: right;">${r.uploadTime}</span>
                    <span >[${r.resourceCategory.name}]</span>
                    <a href="FileDownload!showOne.action?resourceId=${r.resourceId}">${r.fileName}</a>

                </li>
            </s:iterator>
        </ul>
    </div>
    <div id="rightContent">
        <h2>通告</h2>
        <ul>
            <li><a href="#">网站资源是共享的，请同学们尊重别人的劳动成果</a></li>
            <li><a href="#">请同学们积极上传学习资料，让更多的同学得到帮助</a></li>
            <li><a href="#">网站招收管理员，有兴趣的同学请联系</a></li>
            <li><a href="#">如果遇到网站的bug，请联系管理员</a></li>
        </ul>
    </div>
</div>

<div id="line"></div>

<div id="footer">
    <table >
        <tr style=" font-weight: bold; color: #757575;font-size: 18px;">
            <td>产品与功能</td>
            <td>开发团队</td>
            <td>联系我们</td>
            <td>帮助中心</td>
        </tr>
        <tr>
            <td>
                <ul>
                    <li>网站介绍</li>
                    <li>网站特点</li>
                    <li>产品功能</li>
                    <li>产品特色</li>
                </ul>
            </td>
            <td>
                <ul>
                    <li>蓝天白云</li>
                    <li>团队组成</li>
                    <li>团队分工</li>
                    <li>团队渊源</li>
                </ul>
            </td>
            <td>
                <ul>
                    <li>QQ</li>
                    <li>微博</li>
                    <li>微信</li>
                    <li>电话</li>
                </ul>
            </td>
            <td>
                <ul>
                    <li>版权声明</li>
                    <li>免责声明</li>
                    <li>关于隐私</li>
                    <li>友情链接</li>
                </ul>
            </td>
        </tr>
    </table>
    <p style="text-align: center;color: #757575;padding-bottom: 10px;">Copyright © 2010-2013 蓝天白云团队 版权所有</p>
</div>
</body>
</html>